import jdk.swing.interop.SwingInterOpUtils;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-05-14
 * 22:13
 */
class B{
    public int a;
    public double s ;
    public static String room;
    public static int score;
    static{  //静态代码块
        room="教室325";
        score=94;
    }
}


public class Pvf {
    public static void main(String args[]){
        B b1=new B();
        System.out.println(b1.s);//输出9.0
        System.out.println(b1.a);//输出10
    }
}
